import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
import FinancialQuery from '@/pages/financial-query'
import ClinicLog from '@/pages/clinic-log'
import SaleDetail from '@/pages/sale-detail'
import DoctorStatistics from '@/pages/doctor-statistics'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'HelloWorld',
      component: ClinicLog
    },
    {
      path: '/financial-query',
      name: 'financial-query',
      component:FinancialQuery
    },
    {
      path: '/clinic-log',
      name: 'clinic-log',
      component:ClinicLog
    },
    {
      path: '/sale-detail',
      name: 'sale-detail',
      component:SaleDetail
    },
    {
      path: '/doctor-statistics',
      name: 'doctor-statistics',
      component:DoctorStatistics
    }
  ]
})
